home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_12_10 / pjp / ostream.h < prev   
C/C++ Source or Header  |  1994-09-06  |  1KB  |  31 lines

  1. class ostream : virtual public ios {
  2. public:
  3.         ostream(streambuf* sb);
  4.         virtual ~ostream();
  5.         int opfx();
  6.         void osfx();
  7.         ostream& operator<<(ostream& (*pf)(ostream&));
  8.         ostream& operator<<(ios& (*pf)(ios&));
  9.         ostream& operator<<(const char* s);
  10.         ostream& operator<<(char c);
  11.         ostream& operator<<(unsigned char c);
  12.         ostream& operator<<(signed char c);
  13.         ostream& operator<<(short n);
  14.         ostream& operator<<(unsigned short n);
  15.         ostream& operator<<(int n);
  16.         ostream& operator<<(unsigned int n);
  17.         ostream& operator<<(long n);
  18.         ostream& operator<<(unsigned long n);
  19.         ostream& operator<<(float f);
  20.         ostream& operator<<(double f);
  21.         ostream& operator<<(long double f);
  22.         ostream& operator<<(void* p);
  23.         ostream& operator<<(streambuf& sb);
  24.         int put(char c);
  25.         ostream& write(const char* s, int n);
  26.         ostream& write(const unsigned char* s, int n);
  27.         ostream& write(const signed char* s, int n);
  28.         ostream& flush();
  29. }; 
  30.  
  31.